import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/Index'
import AddOrder from '@/components/AddOrder'
import ShowOrder from '@/components/ShowOrder'
import Login from '@/components/Login'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/login',
      name: 'Login',
      component: Login
    },{
      path: '/index',
      name: 'Index',
      component: Index
    },{
      path: '/add_order',
      name: 'AddOrder',
      component: AddOrder
    },{
      path: '/show_order',
      name: 'ShowOrder',
      component: ShowOrder
    },

  ]
})
